<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style>
        a:hover{
            color:red;
            background-color:rgb(235,235,185);
            -webkit-transition:color .25s linear,background-color .15s linear .1s;
            transition:color .25s linear,background-color .15s linear .1s;
        }
        a:link,a:visited{
            color:blue;
            -webkit-transition:color .25s linear .1s;
            transition:color .25s linear .1s;
        }

        *:link, *:visited, *:hover, *:active, *:focus {
            -webkit-transition:
                color .25s linear,
                background-color .25s linear,
                border-color .25s linear;
            transition:
                color .25s linear,
                background-color .25s linear,
                border-color .25s linear;
        }
    </style>
</head>
<body>
<a href="aaaaaaaaaa">Link</a>
<a >Link</a>
</body>
</html>